#FROM openjdk:8-jdk-alpine
FROM swr.cn-north-1.myhuaweicloud.com/btogether-cn/alpine:jre
ADD ./target/hoshiicloud-microservice-register.jar /mnt/
EXPOSE 40001
CMD ["java", "-Xms256m", "-Xmx512m","-jar", "/mnt/hoshiicloud-microservice-register.jar", "--spring.profiles.active=prod"]